< previous page page_766 next page >

Page 766
Type.gifListing 20.2. The cmdExit_Click event.
Private Sub cmdExit_Click()

    Unload Me

End Sub
Run the project and click the Create Master button. You should see a message box when the Design Master is created. See Figure 20.6.
0766-01.jpg
Figure 20.2.
Confirmation that the
Design Master has
been created.
You have created the Design Master. You did not create a new file; rather, you modified the existing file. Don't try to perform this operation on this same file a second time. A file can be made a Design Master only once.
Select the Exit button to close the project.
What Happens to a Database When You Make It Replicable?
The simple routine you wrote and executed in the preceding example made quite a few changes to the REPLMASTER.MDB database. This section explores these changes in detail.
Fields Added to a Replicated Database
Open the Visual Data Manager (Visdata) and load the REPLMAST.MDB database. Open the BookSales table and then expand the fields. Your screen should look like Figure 20.7. Compare Figure 20.7 and Figure 20.3 to find the fields that were added.
The following three fields are added to each table when the Design Master is created:
· s_Generation
· s_GUID
· s_Lineage

 
< previous page page_766 next page >

If you like this book, buy it!